package com.jy.datapipeline.importserver.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ImportDirection implements BasicEntity {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String keyName;

    private String value;

    private String type;

    @SneakyThrows
    @Override
    public BasicEntity createClone() {
        return (BasicEntity) clone();
    }
}